Formation of partial differential equations